package com.pronosticnews.client.services;

import java.util.Collection;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.pronosticnews.shared.model.StadeDto;

import fr.ysa.services.ServiceException;
import fr.ysa.services.config.ConfigRequetesDto;

@RemoteServiceRelativePath("stadeService.rpc")
public interface StadeService extends RemoteService {

	Integer compter(ConfigRequetesDto config) throws ServiceException;

	StadeDto modifier(StadeDto obj) throws ServiceException;

	Collection<StadeDto> sauvegarder(Collection<StadeDto> entities) throws ServiceException;

	StadeDto sauvegarder(StadeDto obj) throws ServiceException;

	void supprimer(Collection<StadeDto> entities) throws ServiceException;

	void supprimer(StadeDto obj) throws ServiceException;

	List<StadeDto> trouver(ConfigRequetesDto config) throws ServiceException;

}
